/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = ora_ttc8_oall8.h                                   */
/*  NOTE      =                                                    */
/*  DATE      = 2014/10/21 by songbb                               */
/*******************************************************************/

#ifndef __ORA_TTC8_OALL8_H_
#define __ORA_TTC8_OALL8_H_

int ora_ttc8_oall8_close_unpack(Conntrack *p_st_conn
                                , L7session_ora *p_st_sess
                                , L7_ora_packet *p_st_ora_packet
                                , Frhash_header *p_st_hash_report);

int ora_ttc8_oall8_oses_unpack(Conntrack *p_st_conn
                            , L7session_ora *p_st_sess
                            , L7_ora_packet *p_st_ora_packet);

int ora_ttc8_oall8_bind_unpack(Conntrack *p_st_conn
                            , L7session_ora *p_st_sess
                            , L7_ora_packet *p_st_ora_packet
                            , Sql_statement *p_st_stmt
                            , Frhash_header *p_st_hash_report);

int ora_ttc8_oall8_unpack_fetch_req(Conntrack *p_st_conn
                                , L7session_ora *p_st_sess
                                , L7_ora_packet *p_st_ora_packet);

int ora_ttc8_oall8_unpack_req(Conntrack *p_st_conn
                            , L7session_ora *p_st_sess
                            , L7_ora_packet *p_st_ora_packet
                            , Frhash_header *p_st_hash_report);

int ora_ttc8_oall8_unpack0303_req(Conntrack *p_st_conn
                                , L7session_ora *p_st_sess
                                , L7_ora_packet *p_st_ora_packet
                                , Frhash_header *p_st_hash_report);

void ora_ttc8_oall8_set_rpc_func(Ora_rpc_recv *p_st_ora_rpc_recv);

int ora_ttc8_analyze_resp(Conntrack *p_st_conn
                        , L7session_ora *p_st_sess
                        , L7_ora_packet *p_st_ora_packet
                        , int i_sess_type);

#endif
